import Layout from '@/layout/index.vue'
const processManagement = {
  path: '/process-management',
  redirect: '/process-management/process',
  component: Layout,
  meta: { title: '流程管理', icon: 'dashboard' },
  alwaysShow: true,
  children: [
    {
      path: 'process',
      component: () => import('@/views/process-management/process/index.vue'),
      name: 'process',
      meta: { title: '流程', cachePage: true, leaveRmCachePage: false }
    },
    {
      path: 'process-nodes',
      component: () => import('@/views/process-management/process-nodes/index.vue'),
      name: 'process-nodes',
      meta: { title: '流程节点' }
    },
    {
      path: 'process-setting',
      component: () => import('@/views/process-management/process-setting/index.vue'),
      name: 'process-setting',
      meta: { title: '节点设置' }
    }
  ]
}

export default processManagement
